import React from 'react';
import styles from './style.less';
import blankPage from '../../assets/frame/blank_page.png';
import { PrimaryC } from '../../comps';
class Blank extends React.Component {
  goHistory = () => {
    window.history.go(-1);
  };
  render() {
    const title = localStorage.getItem('maatBlank') || 'www.xxxx.com';
    localStorage.removeItem('maatBlank');
    return (
      <div className={styles.blank}>
        <img src={blankPage} width={317} height={322} />
        <div>{title}</div>
        <div>页面不存在</div>
        <PrimaryC title='返回' onClick={this.goHistory} />
      </div>
    );
  }
}

export default Blank;
